<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
%>
<style type="text/css">
    table tbody {
        display:block;
        height:420px;
        overflow-y:scroll;
    }

    table thead, tbody tr {
        display:table;
        width:100%;
        table-layout:fixed;
    }

</style>
<link href="<%=path%>/static/css/all.css?3ww0239j" rel="stylesheet" type="text/css">
<!--[if IE]>
<script>
(function(){if(!/*@cc_on!@*/0)return;var e = "abbr,article,aside,audio,canvas,datalist,details,dialog,eventsource,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video".split(','),i=e.length;while(i--){document.createElement(e[i])}})()
</script>
<![endif]-->

<jsp:include page="/web/inc/header"/>
<section>
<div class="wrap">
<div class="section">
    <article id="datalist">
      <nav>
          <div id="title">
              <h1>我提供的材质</h1>
              <label>材质名称</label>
          </div>
       <%-- <div id="breadcrumb">--%>
            <table>
            <thead>
            <tr>
                <th>父级材质</th>
                <th>材质</th>
                <th>审核状态</th>
            </tr>
            </thead>
                <tbody>
                <c:forEach items="${requestScope.textures}" var="texture">
                    <tr>
                    <td>${texture.texture.title}</td>
                        <td>${texture.title}</td>
                        <td>
                            <c:if test="${texture.disabled eq false}">审核通过</c:if>
                            <c:if test="${texture.disabled eq true}">审核未通过</c:if>
                        </td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>
      <%--</div>--%>
    </nav>
  </article>
      <aside>
      <div class="top">
        <h3>用户中心</h3>
      </div>
      <ul>
          <li><a href="<%=path%>/web/usercenter/usPassport">用户信息</a></li>
          <li><a href="<%=path%>/web/usercenter/usDatelist">我提供的垃圾</a></li>
          <li><a href="<%=path%>/web/usercenter/usTexture" style="font-weight: 900">我提供的材质</a></li>
          <li><a href="<%=path%>/web/usercenter/usArticle">我的文章</a></li>
          <li><a href="<%=path%>/web/usercenter/usQuestions">我的提问</a></li>
          <li><a href="<%=path%>/web/usercenter/usAnswers">我的回答</a></li>
          <li><a href="<%=path%>/web/usercenter/usCollect">我的收藏</a></li>
      </ul>
    </aside></div>
</div>
</div>
</section>
<jsp:include page="/web/inc/footer"/>
